package vooga.xml;

import java.util.ArrayList;

/**
 * Create a collection of Strings from a single whitespace delimited String.
 * Designed to be used to help define the collection of groups that an Entity is in from XML 
 * @author Congyi Wu
 *
 */
public class StringCollection extends ArrayList<String> {
	/**
	 * 
	 * @param members the whitespace delimited members of the StringCollection
	 */
	public StringCollection(String members)
	{
		for(String s : members.split("\\s"))
			add(s);
	}
}
